/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.isen.web.webservicetemp.controller;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author isen
 */

@Controller
public class JavascriptViewController {
    
	@RequestMapping(value="/View")
	public ModelAndView test(HttpServletResponse response) throws IOException{
             
		return new ModelAndView("affichage");
	}
        @RequestMapping(value="/View2d")
        public ModelAndView test2(HttpServletResponse reponse) throws IOException{
            return new ModelAndView("view2d");
        }
        
        
        
    
}
